package com.googlecode.yoohoo.xmppcore.protocol.parsing;

public interface IXmppParsingFactory {
	public static final String NAMESPACE_STREAM = "http://etherx.jabber.org/streams";
	
	Object parse(String xml);
	Object parse(String xml, boolean stream);
	void registerParser(IXmppParserFactory<?> parserFactory, ProtocolRelation relation);
	void registerParser(IXmppParserFactory<?> parserFactory, ProtocolRelations relations);
	void unregisterParser(IXmppParserFactory<?> parserFactory);
}
